package models.vo {

  	import org.restfulx.collections.ModelsCollection;
  	import org.restfulx.models.RxModel;
  
  	[Resource(name="documentos")]
  
  	[Bindable]
  	public class Documento extends RxModel {

    	public static const LABEL			:	String = "descricao";

    	public var descricao				:	String;
    	public var descricaoBreve			:	String;
    	public var expiravel				:	Boolean;
    	public var ativo					:	Boolean;
    	public var obrigatorio				:	Boolean;
    	public var ordem: int;

    	[HasMany]
    	public var documentosIncentivos		:	ModelsCollection;
    
    	[HasMany]
    	public var documentosApresentados	:	ModelsCollection;
    
    	public function Documento() {
      		super(LABEL);
    	}
  	}
}
